Skip to main content

Image Classification

Description

The image classification tool provides the capability to automatically categorise images into different predefined classes or categories. By utilising a pre-trained model that has been trained on labeled images, the tool can analyse the visual features of an input image and assign it to the most appropriate class.

This tool eliminates the need for manual classification and allows for efficient sorting and organisation of images based on their content. It is particularly useful in various applications, such as content filtering, organising large image datasets, or automating tasks that require image categorisation.

Settings

Model Folder Path

The model folder path is the path to the folder containing the model files. The model files are the files that are used to classify the images. The model folder path can be a local path or a remote path.

See Model Folder Structure for more information about how to structure the model folder.

tip

Zene UI

picture 2

Setting Example

The user can choose the model folder path by clicking on the folder icon and selecting the folder containing the model files (see File Explorer for more information).

In this example, the model folder is located at D:/onnx-inception-v2-9. Below the model path selector the user can see the Model Name (folder name), and the model Framework.

Architecture

The architecture is the type of model that will be used to classify the images. See Supported Architecture for more information.

Confidence Threshold

The confidence threshold is the minimum confidence score a classification should have to be considered valid. Classifications with confidence scores below this threshold will be discarded. A higher confidence threshold will result in fewer classifications, but with higher accuracy, whereas a lower threshold will result in more classifications, but with potentially lower accuracy.

Ignored Labels

The ignored labels are the labels that will be ignored when classifying the images. The ignored labels are useful when the user want to ignore certain labels that are not relevant to your use case. For example, if the user are classifying images of animals, the user might want to ignore the label car as it is not relevant to your use case.

Advanced Settings

Whether to enabled advanced settings. The advanced settings allow the user to have more control over the model parameters.

caution

Please use the advanced settings with caution as changing the parameters could result in unexpected behaviour.

To RGB

Advanced Settings

Convert from BGR colours (default in Zene) to RGB colours.This is useful when using models trained on images with different channel orders.

Scale

Advanced Settings

The scale is the scale factor that is applied to the input image. The scale factor is used to normalise the input image before it is passed to the model. The scale factor is calculated by dividing the input image by the scale factor. A higher scale factor will result in a smaller input image, while a lower scale factor will result in a larger input image.

Mean

Advanced Settings

The mean is the mean value that is subtracted from the input image. The mean value is used to normalise the input image before it is passed to the model. The mean value is calculated by subtracting the input image by the mean value. A higher mean value will result in a darker input image, while a lower mean value will result in a brighter input image.

Input Pixel (width and height)

Advanced Settings

The input pixel is the size of the input image. The input image is the image that is passed to the model. The user can specify the width and height of the input image.

Display Results

Overlay Results

Whether to draw the results on top of the image frame.